html, body, div, span, applet, object, iframe, 
h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, 
acronym, address, big, cite, code, del, dfn, em, 
img, ins, kbd, q, s, samp, small, strike, strong, 
sub, sup, tt, var, b, u, i, center, dl, dt, dd, 
ol, ul, li, fieldset, form, label, legend, table, 
caption, tbody, tfoot, thead, tr, th, td, article, 
aside, canvas, details, embed, figure, figcaption, 
footer, header, hgroup, menu, nav, output, ruby, 
section, summary, time, mark, audio, video {
    color: #111;
    line-height: 1.2;
    font-family: 'KanitLight', sans-serif;
    font-size: 16px;
}

.list-group span, .list-group a {
    font-size: 16px;
    font-family: 'KanitLight', sans-serif !important;
}

#siteWrapper .fa, 
#siteWrapper .far, 
#siteWrapper .fas, 
#siteWrapper .fal, 
#siteWrapper i {
    font-family: "Font Awesome 6 Pro" !important;
}

.container-main span, .container-main div {
    font-size: 16px;
}

html, body, div#siteWrapper {
    height: 100%;
}

#siteWrapper {
    width: 100%;
}

.container-main {
    margin-top: 0px !important;
    padding-top: 40px;
}

.contentPane i {
    font-family: "Font Awesome 6 Pro" !important;
}

.btn-setting {
    position: absolute;
    right: 30px;
    background: none;
    border: none;
    margin: 5px 5px;
    color: #008a44;
    display: none;
}

.group-user {
    padding: 0px !important;
    width: 28px;
    height: 28px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    background-color: rgb(228, 230, 235) !important;
}

button i.fas.fa-user, button i.fa-gear {
    padding: 5px;
    font-size: 12pt;
    color: #6e6e6e !important;
}

.high-frame {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.mb-nav-box {
    box-shadow: 0 0 4px rgb(0 0 0 / 50%);
    position: fixed;
    width: 100%;
    top: 0px;
    background-color: white;
    height: 44px;
    z-index: 10;
}

li.menu-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
}

a.cpg-logo {
    margin: auto !important;
    display: inline-block !important;
    position: relative !important;
    top: initial !important;
    left: initial !important;
}

span.uname {
    position: fixed;
    top: 13px;
    z-index: 99;
    right: 75px;
    color: #666666;
    font-size: 11pt;
}

.topmenu {
    top: 44px;
    position: relative;
}

.footer {
    background-color: #2d3a68;
    padding: 40px 20px 60px 20px;
    text-align: center;
}

.ct-group {
    display: inline-block;
    margin: 0px auto;
    text-align: left;
}

.dts-dsc-2 a {
    font-size: 11pt;
    line-height: 1.3;
}

.footer .dts-dsc-2 a {
    color: white;
}

.copyright {
    text-align: center;
    padding: 15px;
    background: white;
}

.footer-section.footer-section-main a, .footer-section.footer-section-main a:visited {
    color: white;
}

.logo-group {
    display: table;
    padding: 20px 0px;
    border-radius: 4px;
}

.logo-line {
    display: table-cell;
    border-radius: 4px;
    padding: 5px 0px;
}

.logo-img, .logo-txt {
    display: table-cell;
    vertical-align: top;
}

.container .logo-img img {
    margin: 0px 10px 0px 0px;
}

.header .logo-img > img {
    filter: brightness(0) invert(1);
}

.logo-img, .logo-txt {
    display: table-cell;
    vertical-align: top;
}

.logo-txt {
    padding-top: 16px;
}

.container-main .logo-txt-en {
    font-size: 17pt;
}

.logo-group .logo-txt-en, .logo-group .logo-txt-th {
    color: white;
}


.header {
    background-color: #11212d;
    background-image: url(/portals/0/image/bg/act-bg-l.jpg);
    background-position: center bottom;
    min-height: 130px;
    background-size: cover;
}

.progress-box {
    background-image: url(/portals/0/image/bg/progress-bg.jpg);
    background-size: cover;
    color: white;
    border-radius: 8px;
    padding: 1em;
    display: flex;
    flex-direction: column;
    background-position: center right;
}

div.step-title, span.step-title {
    font-size: 15pt;
}

span.l-subject {
    font-weight: bold;
    color: #505763;
}

.spec-lh > span {
    line-height: 1.2;
}

.white-txt {
    color: white !important;
}

.progress-detail div, .progress-detail span {
    display: inline-block;
    color: white;
}

.badge-item {
    display: flex;
    align-items: center;
    padding-top: .25rem;
    padding-bottom: .25rem;
}

.s-pass .fa-badge, .s-y .fa-badge, .fa-badge-check {
    display: none;
}

.s-pass .fa-badge-check, .s-y .fa-badge-check {
    display: inline-block;
}

i.fa-sharp.fa-solid.fa-badge {
    color: #efefef;
}

i.fa-solid.fa-badge-check {
    color: #decd00;
}

.badge-btn-section {
    min-width: 78px;
    display: flex;
    align-items: center;
}

a.btn.btn-default.s-pass, a.btn.btn-default.s-y {
    opacity: .5;
    pointer-events: none;
    background-color: #d9d5c0;
}

a.btn {
    color: white;
    border: inherit;
}
.badge-btn-section a {
    margin: 0px !important;
    width: 120px;
    justify-content: center;
}

a.btn.btn-default {
    color: #0067b8;
    background-color: #0070b8;
    padding: 4px 8px;
    margin-right: 2px;
    margin-bottom: 5px;
    line-height: 1;
}

.section-label {
    display: flex;
}

.sec-no {
    display: inline-block;
    font-size: 60pt !important;
    font-weight: bold;
    color: #ccc;
    font-style: italic;
    bottom: 8px;
}

.step-box-dsc {
    text-align: left;
}

.section-label .step-title {
    font-size: 20pt;
    color: #444;
}

div.step-desc, span.step-desc {
    font-size: 15pt;
    color: #282828;
}

.section-y {
    padding-top: 3em;
    padding-bottom: 3em;
}

.lesson-box {
    height: 100%;
    border: 1px solid #e5e7e8;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0, 0, 0.5, 1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
}

.lesson-box > img {
    width: 100%;
}

.clickable {
    cursor: pointer;
}

.lesson-detail {
    background-color: #f2f2f2;
}

.lesson-box .lesson-detail {
    background: white;
}

.lesson-detail .txt-dsc {
    font-size: 13pt;
    display: inline-block;
    width: 100%;
    color: gray;
    padding: 10px 15px 0px;
}

.lesson-detail .txt-subject {
    font-size: 18pt;
    display: inline-block;
    width: 100%;
    padding: 0px 15px 15px;
}

.work-bg {
    background-color: #f5f7f8;
}

.test-img-frame {
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 8.2;
    background-image: url(/portals/0/image/bg/do-test-bg.jpg);
    background-size: cover;
    border-radius: 8px;
    padding: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.focus-test {
    background-color: rgb(255 255 255 / 90%);
    border-radius: 8px;
    text-align: center;
    padding: 1em;
}

.dts-announce {
    font-size: 15pt;
    color: #444;
}

.card-box {
    border: 1px solid #e5e7e8;
    border-radius: 8px;
    padding: 12px;
    height: 100%;
    background-color: white;
}

.height-initial {
    height: initial;
}

.text-bold {
    font-weight: bold;
}

div.dts-txt, span.dts-txt {
    font-size: 13pt;
    line-height: 1.2;
}

.i-help {
    font-size: 20pt;
    color: #bebebe;
}

.report-block {
    padding: 15px;
    border-radius: 4px;
    background-color: #e8e8e8;
}

a.btn-report {
    border-radius: 4px;
    margin: 5px;
    display: inline-block;
    vertical-align: top;
    overflow: hidden;
}

a.btn-report img {
    max-width: 100px !important;
}

.container-main .dts-txt-6 {
    margin-bottom: 10px;
    font-size: 18pt;
}

.video-bg {
    padding-top: 8px;
    padding-bottom: 8px;
    background-color: #222;
}

.container-main span.logo-txt-th, .container-main div.logo-txt-th {
    font-size: 13pt;
    margin-top: 4px;
}

@media screen and (min-width: 576px) {
    .progress-box {
        flex-direction: row;
        background-position: center;
    }
}

@media screen and (max-width: 992px) {
    .header {
        background-image: url(/portals/0/image/bg/act-bg-s.jpg);
        background-position: center;
    }
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1140px !important;
    }
}


.jwplayer {
    width: 100% !important;
    height: initial !important;
    display: block !important;
    aspect-ratio: 16 / 9;
}

.dts-sd-ft {
    background-color: #b28905 !important;
    background-image: url(/portals/0/image/icon/rmi-side-logo.png);
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: 100px;
}

.container-main a.btn {
    color: white;
}

.test-img-frame {
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 8.2;
    background-image: url(/portals/0/image/bg/do-test-bg.jpg);
    background-size: cover;
    border-radius: 8px;
    padding: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
}


.elearn_content #bnStartSpace a.elearn_button.btn-start-test {
    font-size: 14pt !important;
    border-radius: .5rem;
    padding: 7px 16px !important;
    font-family: 'KanitLight', sans-serif;
}

.elearn_content {
    padding: 0px !important;
    width: 100% !important;
}

.elearn_instructionBlock {
    background: none !important;
    padding: 0px !important;
}


.elearn_content 
 #bnStartSpace a.elearn_button {
    color: #212529 !important;
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
}
.elearn_content 
 #bnStartSpace a.elearn_button:hover {
    background-color: #e0a800 !important;
    border-color: #d39e00 !important;
}

.test-block * {
    white-space: initial;
    line-height: 1.3 !important;
}

.test-block ul.ul-no li {
    list-style: decimal;
    margin-left: 1em;
    padding-left: .5em;
}

div#TimeCount {
    font-size: 30pt !important;
}

.TimeCountUint {
    font-size: 15pt !important;
}

.warning-txt {
    color: #df0046;
    font-size: 12pt !important;
}


input[type="checkbox"].dts-checkbox  {
    display: none;
}

.custom-checkbox {
    position: relative;
    display: inline-block;
    width: 20pt;
    height: 20pt;
    background-color: white;
    border: 1px solid #c2c2c2;
    border-radius: 3px;
    cursor: pointer;
}

input[type="checkbox"].dts-checkbox:checked + .custom-checkbox {
    background-color: #4caf50;
    border-color: #4caf50;
}

.custom-checkbox::after {
    content: "";
    position: absolute;
    display: none;
    left: 8px;
    top: 1px;
    width: 7px;
    height: 17px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

input[type="checkbox"].dts-checkbox:checked + .custom-checkbox::after {
    display: block;
}

.elearn_NumberSection {
    display: inline-block;
    vertical-align: top;
}

span.QNumber {
    font-size: 24pt !important;
    display: inline-block;
}

.QuestBlock *, .QuestBlock, span.QText, .elearn_content label {
    font-family: kanitlight !important;
    font-size: 14pt !important;
    line-height: 1.2;
}

div.QuestBlock > div {
    padding-left: 0px !important;
}

div.QuestBlock input[type="radio"] {
    min-width: 24px;
    min-height: 24px;
    align-self: start;
    margin-top: 2px;
    margin-right: 10px;
}

span.QText {
    padding-left: 0px;
}

.QuestBlock label {
    white-space: initial;
}

.elearn_content table tr td {
    display: flex;
}

.elearn_NumberBlock {
    display: flex;
}

.elearn_content a.elearn_button.btn-submit-test {
    font-size: 14pt !important;
    border-radius: .5rem;
    padding: 7px 16px !important;
    position: relative;
    top: -1em;
    border: 1px solid #69b9d8 !important;
}

.elearn_content a.elearn_button {
    padding: .25rem .5rem !important;
    font-size: .875rem !important;
    border-color: #6c757d !important;
    line-height: 1.5;
    border-radius: .2rem;
    background-color: #62e2ff !important;
    color: black !important;
    border: 1px solid;
    vertical-align: middle;
    box-shadow: none;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    font-family: kanitlight !important;
}

a.elearn_button:hover {
    box-shadow: none;
    color: white !important;
    background-color: #179fbf !important;
}

div.dts-score, span.dts-score {
    font-weight: bold;
    font-size: 60pt;
    color: #e1e1e1;
}

.fail div.dts-score.actual, .fail span.dts-score.actual,
.pass-n div.dts-score.actual, .pass-n span.dts-score.actual {
    color: #d12a2a;
}

.pass div.dts-score.actual, .pass span.dts-score.actual,
.pass-y div.dts-score.actual, .pass-y span.dts-score.actual {
    color: #009325;
}

.fail .text-result,
.pass-n .text-result {
    color: #d12a2a;
}

.pass .text-result,
.pass-y .text-result  {
    color: #009325;
}

div.text-refer, span.text-refer, div.text-refer *, span.text-refer * {
    color: #676767;
    font-size: 10pt;
}

.title-block.title-6 {
    font-size: 16pt;
}

.title-block.title-8 {
    font-size: 14pt;
}

.title-block {
    margin-bottom: .5em;
}

.blue-txt-3 {
    color: #2d3a68;
}

.p-txt {
    line-height: 1.5;
}

ol.p-txt {
    margin-left: 0px;
    padding-left: 0px;
}

ol.p-txt li {
    list-style-type: none;
}



.top-col-bg {
    background-color: rgb(23 18 18 / 70%);
}

.top-col-bg, .bottom-col-bg {
    padding: 3em 2.5em !important;
}

.bottom-col-bg {
    background-color: #f8f8f8;
}

.login-box {
    display: flex;
    flex-wrap: wrap;
}

.login-box a {
    display: inline-block;
    width: 50%;
    border: 3px solid #f8f8f8;
    border-radius: 6px;
    overflow: hidden;
}

.set-h {
    display: flex;
    align-items: center;
    padding: 2em;
    min-height: calc(100vh - 233px);
}

.box-header.header-banner > img {
    width: 120px;
}

.header-banner .header-title {
    font-size: 16pt;
    max-width: 200px;
    position: relative;
    top: -4px;
    color: white;
}

.content, .link-txt, .form-check-label > span {
    font-size: 13pt;
    line-height: 1.4;
}

.header-banner .content-desc {
    color: #a6a6a6;
}

.dashboard .title {
    font-size: 20pt;
    color: #333334;
    position: relative;
    line-height: 1.8;
}

.dashboard .subtitle {
    font-size: 12pt;
}

.dash-box {
    display: inline-block;
    background: #4DB6AC;
    border-radius: 4px;
    text-align: center;
    padding: 10px;
    margin-bottom: 10px;
    margin-right: 10px;
}

.dashboard div, .dashboard span {
    color: #333334;
}

.dash-box.total {
    width: 160px;
}

.dash-box.detail {
    background-color: #0288D1;
}

.dash-box .title {
    font-size: 15pt;
    margin-bottom: 5px;
    line-height: 1;
}

.dash-box .Content-val {
    font-size: 24pt;
    color: white;
}

.dash-box .unit {
    color: #333334;
    font-size: 12pt;
}

.dashboard .div-box {
    display: inline-block;
    padding: 0px 12px;
    border-left: 1px dotted #FFFFFF;
    text-align: center;
    min-width: 139px;
}

.dashboard .div-box:first-child {
    border-left: none;
}
.dashboard .Content {
    font-size: 24pt !important;
    color: white;
    line-height: 1;
    position: relative;
    top: -1px;
}

.dash-box-l2 {
    display: inline-block;
    vertical-align: top;
}

.dash-box-l2 .Content {
    color: #006064;
    font-size: 38pt !important;
}

.dash-box-l2 .title, .dash-box-l2 .subtitle {
    line-height: 1;
}

.dash-box-l2 .subtitle.Content {
    font-size: 23pt !important;
}

a.dt-button.buttons-excel.buttons-html5 span {
    color: blue !important;
}

.db-label {
    text-align: center;
    color: #005300;
    font-size: 12pt;
    padding: 5px;
    padding-bottom: 0px;
}

.dash-box-img {
    background-color: white;
    border-radius: 4px;
    margin: auto;
    display: block;
    width: 125px;
}

span:empty {
    display: none !important;
}

.show-0 .elms-n,
.pass-y .elms-n {
    display: none;
}

.pass-n .img-result.y, .pass-y .img-result.n {
    display: none;
}

a.btn-logoff, .btn-lang {
    display: inline-flex;
    background-color: rgb(228, 230, 235);
    border-radius: 50%;
    padding: 6px;
    cursor: pointer;
    color: #6e6e6e !important;
    font-size: 13pt !important;
    position: relative !important;
    right: 5px !important;
    z-index: 10;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1 / 1;
    text-decoration: none !important;
    margin-left: 5px !important;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    margin: 0px !important;
    width: 28px;
    height: 28px;
}

.group-btn {
    position: absolute;
    right: 10px;
    top: 6px;
}

a.btn-logoff i {
    color: #6e6e6e;
}

@media (min-width: 576px) {
    .login-box a {
        width: 33.33%;
    }
}

@media (min-width: 768px) {
    .set-h {
        min-height: calc(100vh - 280px);
    }
}

.modal-dialog {
    margin-top: 4rem !important;
}

.dts-modal-setting label.dts-txt {
    margin-bottom: 0px;
}

button.btn-usr {
    margin: 0px;
    top: 5px !important;
    right: 73px;
}

.list-group a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

img.st-item-img {
    width: 30px;
}

.s-n .pass {
    display: none !important;
}

.s-y .not-pass {
    display: none;
}

.s-y .test-img-frame {
    background-image: url("/portals/0/image/icon/robo-smiling.jpg");
    background-size: cover;
    background-position: center;
}

h2#swal2-title {
    margin: 10px auto 0px;
}

.div-th .elm-en, .div-en .elm-th {
    display: none;
}

span.badge-text {
    color: white;
}

@media screen and (min-width: 992px) {
    .login-box a {
        width: 20%;
    }

    .box-header.header-banner > img {
        width: 180px;
    }

    .header-banner .header-title {
        font-size: 26pt;
        max-width: 280px;
        top: -4px;
    }
    
}

.timeout a {
    pointer-events: none;
    filter: grayscale(1);
}












